<%@ include file="/common/taglibs.jsp"%>
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid">
                <a class="brand" href="<c:url value='/'/>"><fmt:message key="webapp.name"/></a>
                <div class="nav-collapse collapse">
                    <ul class="nav">
                        <c:if test="${empty pageContext.request.remoteUser}">
                            <li class="active">
                                <a href="<c:url value="/admin/login"/>"><fmt:message key="login.title"/></a>
                            </li>
                        </c:if>
                    </ul>
                </div>
                <c:if test="${pageContext.request.locale.language ne 'en'}">
                    <div id="switchLocale">
                        <a href="<c:url value='/?locale=en'/>">
                            <fmt:message key="webapp.name"/> in English
                        </a>
                    </div>
                </c:if>
            </div>
        </div>
    </div>